﻿#pragma once

#if (defined _WIN32 || defined _WIN64)

#define WIN32_LEAN_AND_MEAN             // 从 Windows 头文件中排除极少使用的内容
// Windows 头文件
#include <windows.h>
#include <shellapi.h>  // must come after windows.h
// C 运行时头文件
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>

#pragma comment(lib,"version.lib")
#pragma comment(lib,"Imm32.lib")
#pragma comment(lib,"ws2_32.lib")
#pragma comment(lib,"advapi32.lib")
#pragma comment(lib,"comdlg32.lib")
#pragma comment(lib,"dbghelp.lib")
#pragma comment(lib,"dnsapi.lib")
#pragma comment(lib,"gdi32.lib")
#pragma comment(lib,"msimg32.lib")
#pragma comment(lib,"odbc32.lib")
#pragma comment(lib,"odbccp32.lib")
#pragma comment(lib,"shell32.lib")
#pragma comment(lib,"shlwapi.lib")
#pragma comment(lib,"user32.lib")
#pragma comment(lib,"usp10.lib")
#pragma comment(lib,"uuid.lib")
#pragma comment(lib,"wininet.lib")
#pragma comment(lib,"winmm.lib")
#pragma comment(lib,"winspool.lib")
#pragma comment(lib,"delayimp.lib")
#pragma comment(lib,"kernel32.lib")
#pragma comment(lib,"ole32.lib")
#pragma comment(lib,"crypt32.lib")
#pragma comment(lib,"iphlpapi.lib")
#pragma comment(lib,"secur32.lib")
#pragma comment(lib,"dmoguids.lib")
#pragma comment(lib,"wmcodecdspuuid.lib")
#pragma comment(lib,"amstrmid.lib")
#pragma comment(lib,"msdmo.lib")
#pragma comment(lib,"strmiids.lib")
#pragma comment(lib,"oleaut32.lib")
#pragma comment(lib,"d3d11.lib")
#pragma comment(lib,"dxgi.lib")
#pragma comment(lib,"dwmapi.lib")


#include "../3rd/libffmpeg/include/ffmpeg_headers.h"




#ifdef _WIN64

#pragma comment(lib, "./3rd/libffmpeg/lib/x64/Release/libFFmpeg.lib")
//
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/tesseract53.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/libcurl.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/bz2.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/gif.lib")
//#pragma comment(lib, "./3rd/leptonica_x64-windows-static/lib/leptonica-1.83.1.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/archive.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/charset.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/iconv.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/charset.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/jpeg.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/turbojpeg.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/lzma.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/jpeg.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/libpng16.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/libsharpyuv.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/libwebp.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/libwebpdecoder.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/libwebpdemux.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/libwebpmux.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/libwebpdecoder.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/libxml2.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/lz4.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/openjp2.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/libcrypto.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/libssl.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/tiff.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/zlib.lib")
//#pragma comment(lib, "./3rd/tesseract_x64-windows-static/lib/zstd.lib")
//
//
//

#pragma comment(lib, "./lib/x64/webrtc.lib")

#pragma comment(lib, "./x64/Release/TensorRTools.lib")
//
//#pragma comment(lib, "./3rd/TensorRT/lib/nvinfer.lib")
//#pragma comment(lib, "./3rd/TensorRT/lib/nvinfer_plugin.lib")
//#pragma comment(lib, "./3rd/TensorRT/lib/nvonnxparser.lib")
//#pragma comment(lib, "./3rd/TensorRT/lib/nvparsers.lib")

#else

#pragma comment(lib, "./lib/x86/libFFmpeg.lib")
#pragma comment(lib, "../Lib/x64/webrtc.lib")



#endif



#endif //WIN64




